package it.davial.mgwt.client;


import java.io.Serializable;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="FIGURE")
public class Figure   implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 2872192933196910548L;
	
	@Id
	@Column(name="ID_FIGURE")
	private int idFigure;
	
	@Column(name="DESC_FIGURE")
	private String descFigure;

	@Column(name="NAME_FILE")
	private String nameFile;
	

	@Column(name="CODE_FUNCTION")
	private String codeFunction;
	
	@Column(name="DATA_INS")
	private String dataInsert;
	
	@Column(name="CODE_USER_INS")
	private String codeUserInsert;

	@Column(name="DATA_UPD")
	private String dataUpdate;

	@Column(name="CODE_USER_UPD")
	private String codeUserUpdate;

	@Column(name="STATE")
	private int state;
	
	public int getIdFigure() {
		return idFigure;
	}

	public String getCodeFunction() {
		return codeFunction;
	}

	public void setCodeFunction(String codeFunction) {
		this.codeFunction = codeFunction;
	}

	public String getDataInsert() {
		return dataInsert;
	}

	public void setDataInsert(String dataInsert)  {
		this.dataInsert = dataInsert;
	}

	public String getCodeUserInsert() {
		return codeUserInsert;
	}
 
	public void setCodeUserInsert(String codeUserInsert) {
		this.codeUserInsert = codeUserInsert;
	}

	public String getDataUpdate() {
		return dataUpdate;
	}

	public void setDataUpdate(String dataUpdate)  {
		this.dataUpdate = dataUpdate;
	}

	public String getCodeUserUpdate() {
		return codeUserUpdate;
	}

	public void setCodeUserUpdate(String codeUserUpdate) {
		this.codeUserUpdate = codeUserUpdate;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}
	
	public void setIdFigure(int idFigure) {
		this.idFigure = idFigure;
	}

	public String getDescFigure() {
		return descFigure;
	}

	public void setDescFigure(String descFigure) {
		this.descFigure = descFigure;
	}

	public String getNameFile() {
		return nameFile;
	}

	public void setNameFile(String nameFile) {
		this.nameFile = nameFile;
	}

	@Override
	public String toString() {
		return "Figure [idFigure=" + idFigure + ", descFigure=" + descFigure
				+ ", nameFile=" + nameFile + ", codeFunction=" + codeFunction
				+ ", dataInsert=" + dataInsert + ", codeUserInsert="
				+ codeUserInsert + ", dataUpdate=" + dataUpdate
				+ ", codeUserUpdate=" + codeUserUpdate + ", state=" + state
				+ "]";
	}

	



}
